package com.jeecg.demo.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;



@Entity
@Table(name = "MT_HETKZ", uniqueConstraints = {
        @UniqueConstraint(columnNames = "HETKZID"),
        @UniqueConstraint(columnNames = "HETID") })
public class MtHetKzEntity implements java.io.Serializable {
    private static final long serialVersionUID = 1L;



    private Long sysid;
    private String hetid;
    private String shouhdwbm;
    private String shouhdwmc;
    private String meizbm;
    private String meiz;
    private String pinzbm;
    private String pinz;
    private Double shul;
    private Double jiag;
    private String zhilzbfzbm;
    private String zhilzb;
    private String zhilzbjson;
    private Double hej;
    private Double gml1;
    private Double gml2;
    private Double gml3;
    private Double gml4;
    private Double gml5;
    private Double gml6;
    private Double gml7;
    private Double gml8;
    private Double gml9;
    private Double gml10;
    private Double gml11;
    private Double gml12;
    private String gengxsj;
    private String pinzgg;
    private Long hetkzid;
    private String huangzgid;
    private String huangzgmc;
    private String zhongdgid;
    private String zhongdgmc;
    private String xianzkid1;
    private String xianzkmc1;
    private String xianzkid2;
    private String xianzkmc2;
    private String xianzkid3;
    private String xianzkmc3;
    private String xianzkid4;
    private String xianzkmc4;
    private String zhuanyx;
    private Double worktypeid;


    // Constructors

    /** default constructor */
    public MtHetKzEntity() {
    }

    /** minimal constructor */
    public MtHetKzEntity(Long sysid) {
        this.sysid = sysid;
    }

    /** full constructor */
    public MtHetKzEntity(Long sysid, String hetid, String shouhdwbm,
                         String shouhdwmc, String meizbm, String meiz, String pinzbm,
                         String pinz, Double shul, Double jiag, String zhilzbfzbm,
                         String zhilzb, Double hej, Double gml1, Double gml2, Double gml3,
                         Double gml4, Double gml5, Double gml6, Double gml7, Double gml8,
                         Double gml9, Double gml10, Double gml11, Double gml12,
                         String gengxsj, String pinzgg, Long hetkzid) {
        this.sysid = sysid;
        this.hetid = hetid;
        this.shouhdwbm = shouhdwbm;
        this.shouhdwmc = shouhdwmc;
        this.meizbm = meizbm;
        this.meiz = meiz;
        this.pinzbm = pinzbm;
        this.pinz = pinz;
        this.shul = shul;
        this.jiag = jiag;
        this.zhilzbfzbm = zhilzbfzbm;
        this.zhilzb = zhilzb;
        this.hej = hej;
        this.gml1 = gml1;
        this.gml2 = gml2;
        this.gml3 = gml3;
        this.gml4 = gml4;
        this.gml5 = gml5;
        this.gml6 = gml6;
        this.gml7 = gml7;
        this.gml8 = gml8;
        this.gml9 = gml9;
        this.gml10 = gml10;
        this.gml11 = gml11;
        this.gml12 = gml12;
        this.gengxsj = gengxsj;
        this.pinzgg = pinzgg;
        this.hetkzid = hetkzid;
    }

    public Object clone() {
        Object o = null;
        try {
            o = super.clone();
        } catch (CloneNotSupportedException e) {}
        return o;

    }

    // Property accessors
    @Id
    @SequenceGenerator(name = "sequence", sequenceName = "SEQ_TL_Hetkz", allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sequence")
    @Column(name = "SYSID", unique = true, nullable = false, precision = 15, scale = 0)
    public Long getSysid() {
        return this.sysid;
    }

    public void setSysid(Long sysid) {
        this.sysid = sysid;
    }

    @Column(name = "HETID", unique = true, length = 50)
    public String getHetid() {
        String ret = null;
        if (this.hetid == null) {
            ret = this.sysid.toString();
        } else {
            ret = this.hetid;
        }
        return ret;
    }

    public void setHetid(String hetid) {
        this.hetid = hetid;
    }

    @Column(name = "SHOUHDWBM", length = 100)
    public String getShouhdwbm() {
        return this.shouhdwbm;
    }

    public void setShouhdwbm(String shouhdwbm) {
        this.shouhdwbm = shouhdwbm;
    }

    @Column(name = "SHOUHDWMC", length = 100)
    public String getShouhdwmc() {
        return this.shouhdwmc;
    }

    public void setShouhdwmc(String shouhdwmc) {
        this.shouhdwmc = shouhdwmc;
    }

    @Column(name = "MEIZBM", length = 50)
    public String getMeizbm() {
        return this.meizbm;
    }

    public void setMeizbm(String meizbm) {
        this.meizbm = meizbm;
    }

    @Column(name = "MEIZ", length = 50)
    public String getMeiz() {
        return this.meiz;
    }

    public void setMeiz(String meiz) {
        this.meiz = meiz;
    }

    @Column(name = "PINZBM", length = 50)
    public String getPinzbm() {
        return this.pinzbm;
    }

    public void setPinzbm(String pinzbm) {
        this.pinzbm = pinzbm;
    }

    @Column(name = "PINZ", length = 50)
    public String getPinz() {
        return this.pinz;
    }

    public void setPinz(String pinz) {
        this.pinz = pinz;
    }

    @Column(name = "SHUL", precision = 20)
    public Double getShul() {
        return this.shul;
    }

    public void setShul(Double shul) {
        this.shul = shul;
    }

    @Column(name = "JIAG", precision = 20)
    public Double getJiag() {
        return this.jiag;
    }

    public void setJiag(Double jiag) {
        this.jiag = jiag;
    }

    @Column(name = "ZHILZBFZBM", length = 50)
    public String getZhilzbfzbm() {
        return this.zhilzbfzbm;
    }

    public void setZhilzbfzbm(String zhilzbfzbm) {
        this.zhilzbfzbm = zhilzbfzbm;
    }

    @Column(name = "ZHILZB", length = 200)
    public String getZhilzb() {
        return this.zhilzb;
    }

    public void setZhilzb(String zhilzb) {
        this.zhilzb = zhilzb;
    }

    @Column(name = "HEJ", precision = 20)
    public Double getHej() {
        return this.hej;
    }

    public void setHej(Double hej) {
        this.hej = hej;
    }

    @Column(name = "GML1", precision = 20)
    public Double getGml1() {
        return this.gml1;
    }

    public void setGml1(Double gml1) {
        this.gml1 = gml1;
    }

    @Column(name = "GML2", precision = 20)
    public Double getGml2() {
        return this.gml2;
    }

    public void setGml2(Double gml2) {
        this.gml2 = gml2;
    }

    @Column(name = "GML3", precision = 20)
    public Double getGml3() {
        return this.gml3;
    }

    public void setGml3(Double gml3) {
        this.gml3 = gml3;
    }

    @Column(name = "GML4", precision = 20)
    public Double getGml4() {
        return this.gml4;
    }

    public void setGml4(Double gml4) {
        this.gml4 = gml4;
    }

    @Column(name = "GML5", precision = 20)
    public Double getGml5() {
        return this.gml5;
    }

    public void setGml5(Double gml5) {
        this.gml5 = gml5;
    }

    @Column(name = "GML6", precision = 20)
    public Double getGml6() {
        return this.gml6;
    }

    public void setGml6(Double gml6) {
        this.gml6 = gml6;
    }

    @Column(name = "GML7", precision = 20)
    public Double getGml7() {
        return this.gml7;
    }

    public void setGml7(Double gml7) {
        this.gml7 = gml7;
    }

    @Column(name = "GML8", precision = 20)
    public Double getGml8() {
        return this.gml8;
    }

    public void setGml8(Double gml8) {
        this.gml8 = gml8;
    }

    @Column(name = "GML9", precision = 20)
    public Double getGml9() {
        return this.gml9;
    }

    public void setGml9(Double gml9) {
        this.gml9 = gml9;
    }

    @Column(name = "GML10", precision = 20)
    public Double getGml10() {
        return this.gml10;
    }

    public void setGml10(Double gml10) {
        this.gml10 = gml10;
    }

    @Column(name = "GML11", precision = 20)
    public Double getGml11() {
        return this.gml11;
    }

    public void setGml11(Double gml11) {
        this.gml11 = gml11;
    }

    @Column(name = "GML12", precision = 20)
    public Double getGml12() {
        return this.gml12;
    }

    public void setGml12(Double gml12) {
        this.gml12 = gml12;
    }

    @Column(name = "GENGXSJ", length = 50)
    public String getGengxsj() {
        return this.gengxsj;
    }

    public void setGengxsj(String gengxsj) {
        this.gengxsj = gengxsj;
    }

    @Column(name = "PINZGG", length = 50)
    public String getPinzgg() {
        return this.pinzgg;
    }

    public void setPinzgg(String pinzgg) {
        this.pinzgg = pinzgg;
    }

    @Column(name = "HETKZID", unique = true, precision = 22, scale = 0)
    public Long getHetkzid() {
        return this.sysid;
    }

    public void setHetkzid(Long hetkzid) {
        this.hetkzid = hetkzid;
    }

    @Column(name = "HUANGZGID", length = 50)
    public String getHuangzgid() {
        return huangzgid;
    }

    public void setHuangzgid(String huangzgid) {
        this.huangzgid = huangzgid;
    }

    @Column(name = "HUANGZGMC", length = 50)
    public String getHuangzgmc() {
        return huangzgmc;
    }

    public void setHuangzgmc(String huangzgmc) {
        this.huangzgmc = huangzgmc;
    }

    @Column(name = "ZHONGDGID", length = 50)
    public String getZhongdgid() {
        return zhongdgid;
    }

    public void setZhongdgid(String zhongdgid) {
        this.zhongdgid = zhongdgid;
    }

    @Column(name = "ZHONGDGMC", length = 50)
    public String getZhongdgmc() {
        return zhongdgmc;
    }

    public void setZhongdgmc(String zhongdgmc) {
        this.zhongdgmc = zhongdgmc;
    }

    @Column(name = "XIANZKID1", length = 50)
    public String getXianzkid1() {
        return xianzkid1;
    }

    public void setXianzkid1(String xianzkid1) {
        this.xianzkid1 = xianzkid1;
    }

    @Column(name = "XIANZKMC1", length = 50)
    public String getXianzkmc1() {
        return xianzkmc1;
    }

    public void setXianzkmc1(String xianzkmc1) {
        this.xianzkmc1 = xianzkmc1;
    }

    @Column(name = "XIANZKID2", length = 50)
    public String getXianzkid2() {
        return xianzkid2;
    }

    public void setXianzkid2(String xianzkid2) {
        this.xianzkid2 = xianzkid2;
    }

    @Column(name = "XIANZKMC2", length = 50)
    public String getXianzkmc2() {
        return xianzkmc2;
    }

    public void setXianzkmc2(String xianzkmc2) {
        this.xianzkmc2 = xianzkmc2;
    }

    @Column(name = "XIANZKID3", length = 50)
    public String getXianzkid3() {
        return xianzkid3;
    }

    public void setXianzkid3(String xianzkid3) {
        this.xianzkid3 = xianzkid3;
    }

    @Column(name = "XIANZKMC3", length = 50)
    public String getXianzkmc3() {
        return xianzkmc3;
    }

    public void setXianzkmc3(String xianzkmc3) {
        this.xianzkmc3 = xianzkmc3;
    }

    @Column(name = "XIANZKID4", length = 50)
    public String getXianzkid4() {
        return xianzkid4;
    }

    public void setXianzkid4(String xianzkid4) {
        this.xianzkid4 = xianzkid4;
    }

    @Column(name = "XIANZKMC4", length = 50)
    public String getXianzkmc4() {
        return xianzkmc4;
    }

    public void setXianzkmc4(String xianzkmc4) {
        this.xianzkmc4 = xianzkmc4;
    }

    @Column(name = "ZHUANYX", length = 50)
    public String getZhuanyx() {
        return zhuanyx;
    }

    public void setZhuanyx(String zhuanyx) {
        this.zhuanyx = zhuanyx;
    }

    @Column(name = "ZHILZBJSON", length = 500)
    public String getZhilzbjson() {
        return zhilzbjson;
    }

    public void setZhilzbjson(String zhilzbjson) {
        this.zhilzbjson = zhilzbjson;
    }

    @Column(name = "WORKTYPEID", length = 500)
    public Double getWorktypeid() {
        return worktypeid;
    }

    public void setWorktypeid(Double worktypeid) {
        this.worktypeid = worktypeid;
    }

}
